from django.conf.urls import url
from apps.user import views
urlpatterns = [
    url(r'^login/$', views.Login.as_view(), name="login"),
    url(r'^reg/$', views.Register.as_view(), name="reg"),
    url(r'^user_info/$', views.User_info.as_view(), name="user_info"),
    url(r'^user_head_set/$', views.User_head.as_view(), name="user_head_set"),
    url(r'^upload/image/$', views.Upload_image.as_view(), name="upload_image"),
    url(r'^user_commit/$', views.Commit.as_view(), name="commit"),
    url(r'^commit/book/(?P<uuid>\d+)/$', views.My_commit.as_view(), name="my_commit"),
    url(r'^my_book_list/$', views.My_book_list.as_view(), name="my_book_list"),
    url(r'^logout/$', views.Logout.as_view(), name="logout"),
    url(r'^forget/$', views.Forget.as_view(), name="forget"),
    url(r'^chang_pwd/$', views.Chang_pwd.as_view(), name="chang_pwd"),

]
